package com.bh.test.controller;

import com.bh.controller.UserController;
import com.bh.pojo.entry.User;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Text1 {
    @Autowired
    UserController uc=new UserController();

    @Test
    public void  aaa(){
        User user = new User();
        user.setUsername("admin");
        user.setPassword("admin");
        String login = uc.login(user, null, null);

    }
}
